package com.xfcy.blog.entity;


import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 相册(PhotoAlbum)表实体类
 *
 * @author 晓风残月Lx
 * @since 2023-04-09 11:03:06
 */
@TableName("b_photo_album")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PhotoAlbum implements Serializable {
    //主键
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    //相册名
    private String name;
    //相册描述
    private String info;
    //相册封面
    private String cover;
    //状态值 0公开 1私密
    private Integer status;
    //创建时间
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    //更新时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

}

